<script setup>
import { onLaunch } from '@dcloudio/uni-app'
import { useAppGuard } from '@/utils/authGuard'

onLaunch(() => {
  // 应用启动时进行权限验证
  useAppGuard().catch((error) => {
    console.error('权限验证失败:', error)
  })
})
</script>

<style>
/*每个页面公共css */
</style>
